
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>4.2 应用fcn8s模型执行语义分割流程推理结果不正确 · Blankj's Glory</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Blankj">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="part4-3.html" />
    
    
    <link rel="prev" href="part4-1.html" />
    

    
        <link rel="shortcut icon" href='../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="bookmark" href='../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="apple-touch-icon" href='../source/images/apple-touch-icon.jpg'>
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="../source/images/apple-touch-icon.jpg">
        
        <link rel="apple-touch-icon" sizes="180x180" href="../source/images/apple-touch-icon.jpg">
        
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"Blankj","repo":"glory","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://bbs.huaweicloud.com/forum/forum-726-1.html" target="_blank" class="custom-link">Atlas200DK FAQ</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    目录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../part1/">
            
                <a href="../part1/">
            
                    
                    MindSpore部署问题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../part1/part1-1.html">
            
                <a href="../part1/part1-1.html">
            
                    
                    1.1 执行apt-get update命令检查源配置出错
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../part1/part1-2.html">
            
                <a href="../part1/part1-2.html">
            
                    
                    1.2 界面报IP不正确
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../part1/part1-3.html">
            
                <a href="../part1/part1-3.html">
            
                    
                    1.3 MindSpore Studio 使用新IP地址登录失败
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../part1/part1-4.html">
            
                <a href="../part1/part1-4.html">
            
                    
                    1.4 Profiling安装或启动失败
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../part1/part1-5.html">
            
                <a href="../part1/part1-5.html">
            
                    
                    1.5 MindSpore Studio或DDK安装过程中提示pip2或pip不可用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../part1/part1-6.html">
            
                <a href="../part1/part1-6.html">
            
                    
                    1.6 MindSpore Studio不支持开机自启动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../part1/part1-7.html">
            
                <a href="../part1/part1-7.html">
            
                    
                    1.7 MindSpore Studio无法正常启动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="../part1/part1-8.html">
            
                <a href="../part1/part1-8.html">
            
                    
                    1.8 卸载过程中MongoDB服务停止失败
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="../part1/part1-9.html">
            
                <a href="../part1/part1-9.html">
            
                    
                    1.9 MindSpore Studio安装失败
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.10" data-path="../part1/part1-10.html">
            
                <a href="../part1/part1-10.html">
            
                    
                    1.10 联机帮助无法查看文档
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../part2/">
            
                <a href="../part2/">
            
                    
                    开发板部署问题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../part2/part2-1.html">
            
                <a href="../part2/part2-1.html">
            
                    
                    2.1 开发者板SD卡制卡失败
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../part2/part2-2.html">
            
                <a href="../part2/part2-2.html">
            
                    
                    2.2 SD卡制作过程中人为拔卡导致系统存在冗余挂载盘    
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../part2/part2-3.html">
            
                <a href="../part2/part2-3.html">
            
                    
                    2.3 UI Host连接开发者板无法建立信任关系
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../part2/part2-4.html">
            
                <a href="../part2/part2-4.html">
            
                    
                    2.4 开发者板无法正常连接UI Host如何处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../part2/part2-5.html">
            
                <a href="../part2/part2-5.html">
            
                    
                    2.5 在开发者板上无法ping域名，但可以ping通IP地址
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../part2/part2-6.html">
            
                <a href="../part2/part2-6.html">
            
                    
                    2.6 ifconfig查看无虚拟网卡出现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="../part2/part2-7.html">
            
                <a href="../part2/part2-7.html">
            
                    
                    2.7 配置交叉编译环境时提示相关依赖库无法找到    
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="../part2/part2-8.html">
            
                <a href="../part2/part2-8.html">
            
                    
                    2.8 配置交叉编译环境时提示“Pack sysroot.tar.gz failed”
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="../part2/part2-9.html">
            
                <a href="../part2/part2-9.html">
            
                    
                    2.9 实验室Ubuntu机器使用192.168.1.xx网段，开发者板连接IP冲突
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="../part2/part2-10.html">
            
                <a href="../part2/part2-10.html">
            
                    
                    2.10 开发者板USB方式连接MindSpore Studio失败解决方法汇总
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11" data-path="../part2/part2-11.html">
            
                <a href="../part2/part2-11.html">
            
                    
                    2.11 升级过程中提示get board_id failed
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12" data-path="../part2/part2-12.html">
            
                <a href="../part2/part2-12.html">
            
                    
                    2.12 开发者板USB方式连接UI Host，通过UI Host连网相关案例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13" data-path="../part2/part2-13.html">
            
                <a href="../part2/part2-13.html">
            
                    
                    2.13 开发者板连网后通过apt-get命令安装软件失败
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../part3/">
            
                <a href="../part3/">
            
                    
                    模型转换
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../part3/part3-1.html">
            
                <a href="../part3/part3-1.html">
            
                    
                    3.1 模型转换时报 convert layers-structure to layer-structure 错误
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../part3/part3-2.html">
            
                <a href="../part3/part3-2.html">
            
                    
                    3.2 模型转换时报Error parsing text-format
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../part3/part3-3.html">
            
                <a href="../part3/part3-3.html">
            
                    
                    3.3 SSD Caffe模型转换时遇到不支持的算子
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../part3/part3-4.html">
            
                <a href="../part3/part3-4.html">
            
                    
                    3.4 Offline Model导入Davinci模型文件时提示Not a legal om file
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../part3/part3-5.html">
            
                <a href="../part3/part3-5.html">
            
                    
                    3.5 ShuffleNet模型转换时无法进行8bit量化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../part3/part3-6.html">
            
                <a href="../part3/part3-6.html">
            
                    
                    3.6 Caffe模型转换时提示不支持layers
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../part3/part3-7.html">
            
                <a href="../part3/part3-7.html">
            
                    
                    3.7 Caffe模型转换时提示all input must have the same dim value
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="./">
            
                <a href="./">
            
                    
                    应用程序
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="part4-1.html">
            
                <a href="part4-1.html">
            
                    
                    4.1 编排流程运行失败常见问题检查思路
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.2" data-path="part4-2.html">
            
                <a href="part4-2.html">
            
                    
                    4.2 应用fcn8s模型执行语义分割流程推理结果不正确
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="part4-3.html">
            
                <a href="part4-3.html">
            
                    
                    4.3 应用faster-R-cnn网络模型执行目标检测报no result file
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="part4-4.html">
            
                <a href="part4-4.html">
            
                    
                    4.4 应用ssd网络模型执行检测器程序无运行结果
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="part4-5.html">
            
                <a href="part4-5.html">
            
                    
                    4.5 运行应用sample“通用分类网络”程序时提示has no exec file
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="part4-6.html">
            
                <a href="part4-6.html">
            
                    
                    4.6 部署人脸识别应用程序时，deploy.sh脚本出错
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="part4-7.html">
            
                <a href="part4-7.html">
            
                    
                    4.7 Presenter Server启动时报Permission denied:xxx/tornado-6.0.2.egg-info
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="part4-8.html">
            
                <a href="part4-8.html">
            
                    
                    4.8 远程执行run用例时提示alive error
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="part4-9.html">
            
                <a href="part4-9.html">
            
                    
                    4.9 远程执行run用例时提示 IDE-daemon-hiai 进程停止
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="part4-10.html">
            
                <a href="part4-10.html">
            
                    
                    4.10 人脸检测应用程序停止异常
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="part4-11.html">
            
                <a href="part4-11.html">
            
                    
                    4.11 在MindSpore Studio中执行Profiling报Import analysis failed的错误
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../part5/">
            
                <a href="../part5/">
            
                    
                    其他
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../part5/part5-1.html">
            
                <a href="../part5/part5-1.html">
            
                    
                    5.1 SrcEngine, InferenceEngine与DestEngine的开发思路是什么？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../part5/part5-2.html">
            
                <a href="../part5/part5-2.html">
            
                    
                    5.2 通过界面进行模型转换时的DetectionOuput的含义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../part5/part5-3.html">
            
                <a href="../part5/part5-3.html">
            
                    
                    5.3 ret=ai_model_manager->process是否支持多输入多输出场景
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../part6/">
            
                <a href="../part6/">
            
                    
                    常用操作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../part6/part6-1.html">
            
                <a href="../part6/part6-1.html">
            
                    
                    6.1 如何上传文件到Host侧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../part6/part6-2.html">
            
                <a href="../part6/part6-2.html">
            
                    
                    6.2 USB连接方式时如何配置开发者板通过MindSpore Studio服务器连接网络
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../part6/part6-3.html">
            
                <a href="../part6/part6-3.html">
            
                    
                    6.3 如何离线部署MindSpore Studio或者Atlas 200 DK依赖软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../part6/part6-4.html">
            
                <a href="../part6/part6-4.html">
            
                    
                    6.4 如何在Atlas 200 DK上运行交叉编译的OpenCV库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../part6/part6-5.html">
            
                <a href="../part6/part6-5.html">
            
                    
                    6.5 如何查看在开发者板上运行的应用程序的日志
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../part6/part6-6.html">
            
                <a href="../part6/part6-6.html">
            
                    
                    6.6 在Github上下载软件包注意事项
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >4.2 应用fcn8s模型执行语义分割流程推理结果不正确</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><ul><li><span class="title-icon "></span><a href="#42-&#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;"><b></b>4.2 &#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;</a></li><ul><li><span class="title-icon "></span><a href="#&#x95EE;&#x9898;&#x63CF;&#x8FF0;"><b></b>&#x95EE;&#x9898;&#x63CF;&#x8FF0;</a></li><li><span class="title-icon "></span><a href="#&#x89E3;&#x51B3;&#x65B9;&#x6CD5;"><b></b>&#x89E3;&#x51B3;&#x65B9;&#x6CD5;</a></li></ul></ul></ul></div><a href="#" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h2 id="42-&#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;"><a name="42-&#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;" class="anchor-navigation-ex-anchor" href="#42-&#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="42-&#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;" class="plugin-anchor" href="#42-&#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;"><i class="fa fa-link" aria-hidden="true"></i></a>4.2 &#x5E94;&#x7528;fcn8s&#x6A21;&#x578B;&#x6267;&#x884C;&#x8BED;&#x4E49;&#x5206;&#x5272;&#x6D41;&#x7A0B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E0D;&#x6B63;&#x786E;</h2>
<h3 id="&#x95EE;&#x9898;&#x63CF;&#x8FF0;"><a name="&#x95EE;&#x9898;&#x63CF;&#x8FF0;" class="anchor-navigation-ex-anchor" href="#&#x95EE;&#x9898;&#x63CF;&#x8FF0;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x95EE;&#x9898;&#x63CF;&#x8FF0;" class="plugin-anchor" href="#&#x95EE;&#x9898;&#x63CF;&#x8FF0;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x95EE;&#x9898;&#x63CF;&#x8FF0;</h3>
<p>&#x901A;&#x8FC7;MindSpore Studio&#x6A21;&#x578B;&#x5BFC;&#x5165;&#x529F;&#x80FD;&#x5BFC;&#x5165;fcn&#x7F51;&#x7EDC;&#x6A21;&#x578B;&#x6210;&#x529F;&#x3002;
&#x6267;&#x884C;&#x5982;&#x4E0B;&#x63A8;&#x7406;&#x6D41;&#x7A0B;&#xFF0C;&#x8F93;&#x51FA;&#x65E5;&#x5FD7;&#x62A5;&#x6267;&#x884C;&#x6210;&#x529F;&#xFF0C;&#x4F46;&#x6A21;&#x578B;&#x63A8;&#x7406;&#x7ED3;&#x679C;&#x4E3A;0&#xFF0C;&#x8F93;&#x51FA;&#x7ED3;&#x679C;&#x9519;&#x8BEF;&#xFF0C;&#x63A8;&#x7406;&#x6D41;&#x7A0B;&#x5982;&#x56FE;4-3&#x6240;&#x793A;&#x3002;
&#x56FE;4-3&#x8BED;&#x4E49;&#x5206;&#x5272;&#x7F16;&#x6392;&#x6D41;&#x7A0B;</p>
<h3 id="&#x89E3;&#x51B3;&#x65B9;&#x6CD5;"><a name="&#x89E3;&#x51B3;&#x65B9;&#x6CD5;" class="anchor-navigation-ex-anchor" href="#&#x89E3;&#x51B3;&#x65B9;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x89E3;&#x51B3;&#x65B9;&#x6CD5;" class="plugin-anchor" href="#&#x89E3;&#x51B3;&#x65B9;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x89E3;&#x51B3;&#x65B9;&#x6CD5;</h3>
<p>&#x63A8;&#x7406;&#x5931;&#x8D25;&#x7684;&#x539F;&#x56E0;&#x4E3A;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;ImagePreProcess&#x7684;resize&#x8BBE;&#x7F6E;&#x4E0D;&#x5BF9;&#xFF0C;Resize&#x9700;&#x8981;&#x8BBE;&#x7F6E;&#x4E3A;&#x7F51;&#x7EDC;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;</p>
<h4 id="&#x6B65;&#x9AA4;-1&#x67E5;&#x770B;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;"><a name="&#x6B65;&#x9AA4;-1&#x67E5;&#x770B;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;" class="anchor-navigation-ex-anchor" href="#&#x6B65;&#x9AA4;-1&#x67E5;&#x770B;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x6B65;&#x9AA4;-1&#x67E5;&#x770B;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;" class="plugin-anchor" href="#&#x6B65;&#x9AA4;-1&#x67E5;&#x770B;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6B65;&#x9AA4; 1&#x67E5;&#x770B;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;</h4>
<p>&#x53EF;&#x901A;&#x8FC7;&#x4EE5;&#x4E0B;&#x4E24;&#x79CD;&#x65B9;&#x6CD5;&#x67E5;&#x770B;&#x7F51;&#x7EDC;&#x6A21;&#x578B;&#x5BF9;&#x56FE;&#x7247;&#x7684;&#x5927;&#x5C0F;&#x8981;&#x6C42;&#xFF1A;
&#xF06C;&#x901A;&#x8FC7;MindSpore Studio&#x5BFC;&#x5165;&#x7F51;&#x7EDC;&#x6A21;&#x578B;&#x65F6;&#xFF0C;&#x901A;&#x8FC7;&#x5982;&#x56FE;4-4&#x6240;&#x793A;&#x53C2;&#x6570;&#x83B7;&#x53D6;&#x6A21;&#x578B;&#x5BF9;&#x56FE;&#x7247;&#x9AD8;&#x548C;&#x5BBD;&#x7684;&#x8981;&#x6C42;&#x3002;
&#x56FE;4-4&#x6A21;&#x578B;&#x5BFC;&#x5165;&#x793A;&#x4F8B;</p>
<p>&#x4E0A;&#x56FE;&#x6240;&#x793A;&#x7684;H&#x4E0E;W&#x7684;&#x503C;&#x5206;&#x522B;&#x4E3A;&#x6B64;&#x5BFC;&#x5165;&#x6A21;&#x578B;&#x5BF9;&#x5904;&#x7406;&#x7684;&#x56FE;&#x7247;&#x9AD8;&#x548C;&#x5BBD;&#x7684;&#x8981;&#x6C42;&#x3002;
&#xF06C;&#x901A;&#x8FC7;&#x67E5;&#x770B;&#x7F51;&#x7EDC;&#x6A21;&#x578B;&#x7684;prototxt&#x6587;&#x4EF6;&#x7684;input_param&#x53C2;&#x6570;&#x3002;
layer { 
  name: &quot;input&quot; 
  type: &quot;Input&quot; 
  top: &quot;data&quot; 
  input_param { </p>
<pre><code># These dimensions are purely for sake of example; 
# see infer.py for how to reshape the net to the given input size. 
shape { dim: 1 dim: 3 dim: 500 dim: 500 } 
</code></pre><p>  } 
}
&#x5982;&#x4E0A;&#x6240;&#x793A;&#xFF0C;input_param&#x4E2D;shape&#x7684;&#x540E;&#x4E24;&#x4E2A;&#x53C2;&#x6570;&#x5373;&#x4E3A;&#x6A21;&#x578B;&#x8981;&#x6C42;&#x7684;&#x9AD8;&#x548C;&#x5BBD;&#x3002;</p>
<h4 id="&#x6B65;&#x9AA4;-2&#x8BBE;&#x7F6E;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;&#x7684;resize&#x5C5E;&#x6027;&#x3002;"><a name="&#x6B65;&#x9AA4;-2&#x8BBE;&#x7F6E;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;&#x7684;resize&#x5C5E;&#x6027;&#x3002;" class="anchor-navigation-ex-anchor" href="#&#x6B65;&#x9AA4;-2&#x8BBE;&#x7F6E;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;&#x7684;resize&#x5C5E;&#x6027;&#x3002;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x6B65;&#x9AA4;-2&#x8BBE;&#x7F6E;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;&#x7684;resize&#x5C5E;&#x6027;&#x3002;" class="plugin-anchor" href="#&#x6B65;&#x9AA4;-2&#x8BBE;&#x7F6E;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;&#x7684;resize&#x5C5E;&#x6027;&#x3002;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x6B65;&#x9AA4; 2&#x8BBE;&#x7F6E;&#x56FE;&#x7247;&#x9884;&#x5904;&#x7406;&#x8282;&#x70B9;&#x7684;resize&#x5C5E;&#x6027;&#x3002;</h4>
<p>&#x8BBE;&#x7F6E;ImagePreProcess&#x8282;&#x70B9;&#x7684;Resize&#x5C5E;&#x6027;&#x7684;width&#x4E0E;height&#x5206;&#x522B;&#x4E3A;&#x6B65;&#x9AA4;1&#x4E2D;&#x7684;&#x5BBD;&#x4E0E;&#x9AD8;&#x3002;</p>
<p>----&#x7ED3;&#x675F;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="part4-1.html" class="navigation navigation-prev " aria-label="Previous page: 4.1 编排流程运行失败常见问题检查思路">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="part4-3.html" class="navigation navigation-next " aria-label="Next page: 4.3 应用faster-R-cnn网络模型执行目标检测报no result file">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"4.2 应用fcn8s模型执行语义分割流程推理结果不正确","level":"1.5.2","depth":2,"next":{"title":"4.3 应用faster-R-cnn网络模型执行目标检测报no result file","level":"1.5.3","depth":2,"path":"part4/part4-3.md","ref":"part4/part4-3.md","articles":[]},"previous":{"title":"4.1 编排流程运行失败常见问题检查思路","level":"1.5.1","depth":2,"path":"part4/part4-1.md","ref":"part4/part4-1.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","expandable-chapters-small","anchors","github","github-buttons","donate","sharing-plus","anchor-navigation-ex","favicon","livereload"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"github":{"url":"https://bbs.huaweicloud.com/forum/forum-726-1.html"},"livereload":{},"splitter":{},"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"./source/images/donate.png","alipayText":" ","button":"赞赏","title":"","wechat":"","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"favicon":{"shortcut":"./source/images/favicon.jpg","bookmark":"./source/images/favicon.jpg","appleTouch":"./source/images/apple-touch-icon.jpg","appleTouchMore":{"120x120":"./source/images/apple-touch-icon.jpg","180x180":"./source/images/apple-touch-icon.jpg"}},"github-buttons":{"buttons":[{"user":"Blankj","repo":"glory","type":"star","size":"small","count":true}]},"expandable-chapters-small":{},"sharing":{"qq":false,"all":["google","facebook","weibo","twitter","qq","qzone","linkedin","pocket"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{}},"theme":"default","author":"Blankj","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Blankj's Glory","language":"zh-hans","links":{"sidebar":{"Atlas200DK FAQ":"https://bbs.huaweicloud.com/forum/forum-726-1.html"}},"gitbook":"3.2.3","description":"select * from learn"},"file":{"path":"part4/part4-2.md","mtime":"2019-10-30T11:57:45.502Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-10-30T12:38:01.713Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

